<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
  <title>秋季服饰大促 - 详情</title>
  <!-- Bootstrap 5 CSS -->
  <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
  <!-- Font Awesome -->
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/font-awesome@4.7.0/css/font-awesome.min.css">
  
  <style>
    body {
      background-color: #f5f5f5;
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
      padding-bottom: 70px;
    }
    
    /* 顶部导航 */
    .top-nav {
      background-color: white;
      padding: 12px 15px;
      box-shadow: 0 2px 5px rgba(0,0,0,0.05);
      position: sticky;
      top: 0;
      z-index: 100;
    }
    
    .nav-title {
      font-size: 18px;
      font-weight: 600;
      text-align: center;
      margin: 0;
    }
    
    /* 图片轮播 */
    .promo-slider {
      position: relative;
      height: 280px;
      background-color: #f5f5f5;
    }
    
    .slider-image {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    
    .slider-indicator {
      position: absolute;
      bottom: 10px;
      left: 0;
      right: 0;
      text-align: center;
      color: white;
      background-color: rgba(0,0,0,0.3);
      padding: 3px 0;
      font-size: 13px;
    }
    
    /* 促销标签 */
    .promo-tags {
      padding: 10px 15px;
      background-color: white;
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }
    
    .promo-tag {
      padding: 4px 10px;
      border-radius: 4px;
      font-size: 12px;
    }
    
    .tag-hot {
      background-color: #fff1f0;
      color: #ff4d4f;
    }
    
    .tag-limited {
      background-color: #fff7e6;
      color: #faad14;
    }
    
    .tag-full {
      background-color: #e8f4fd;
      color: #1890ff;
    }
    
    /* 促销信息 */
    .promo-info {
      padding: 15px;
      background-color: white;
      border-top: 1px solid #eee;
    }
    
    .promo-title {
      font-size: 20px;
      font-weight: 600;
      color: #333;
      margin-bottom: 10px;
      line-height: 1.3;
    }
    
    .promo-price {
      padding: 10px 0;
      border-top: 1px dashed #eee;
      border-bottom: 1px dashed #eee;
      margin: 10px 0;
    }
    
    .price-main {
      display: flex;
      align-items: baseline;
      gap: 10px;
      margin-bottom: 8px;
    }
    
    .current-price {
      font-size: 24px;
      font-weight: 700;
      color: #ff4d4f;
    }
    
    .original-price {
      font-size: 15px;
      color: #999;
      text-decoration: line-through;
    }
    
    .discount {
      font-size: 14px;
      background-color: #ff4d4f;
      color: white;
      padding: 2px 8px;
      border-radius: 4px;
    }
    
    .price-desc {
      font-size: 14px;
      color: #666;
      display: flex;
      align-items: center;
      gap: 5px;
    }
    
    .price-desc i {
      color: #ff4d4f;
    }
    
    .promo-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 15px;
      font-size: 14px;
      color: #666;
      margin: 10px 0;
    }
    
    .meta-item {
      display: flex;
      align-items: center;
      gap: 5px;
    }
    
    .meta-item i {
      color: #999;
      width: 16px;
      text-align: center;
    }
    
    /* 商家信息 */
    .merchant-info {
      padding: 15px;
      background-color: white;
      border-top: 1px solid #eee;
      display: flex;
      align-items: center;
      gap: 12px;
    }
    
    .merchant-avatar {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background-color: #f0f7ff;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #1890ff;
      font-size: 18px;
    }
    
    .merchant-details {
      flex: 1;
    }
    
    .merchant-name {
      font-size: 16px;
      font-weight: 500;
      margin-bottom: 3px;
    }
    
    .merchant-rating {
      font-size: 12px;
      color: #999;
    }
    
    .follow-btn {
      padding: 5px 15px;
      border-radius: 20px;
      font-size: 14px;
      background-color: white;
      border: 1px solid #ff4d4f;
      color: #ff4d4f;
    }
    
    .follow-btn.followed {
      background-color: #fff1f0;
    }
    
    /* 促销详情 */
    .promo-details {
      margin-top: 10px;
      background-color: white;
      padding: 15px;
    }
    
    .section-title {
      font-size: 17px;
      font-weight: 600;
      color: #333;
      margin-bottom: 12px;
      padding-bottom: 8px;
      border-bottom: 1px solid #eee;
    }
    
    .detail-content {
      font-size: 15px;
      color: #555;
      line-height: 1.6;
    }
    
    .detail-content p {
      margin-bottom: 10px;
    }
    
    .detail-content img {
      width: 100%;
      margin: 10px 0;
      border-radius: 8px;
    }
    
    .terms-title {
      font-weight: 500;
      margin: 15px 0 8px;
      color: #333;
    }
    
    .terms-list {
      padding-left: 20px;
      margin-bottom: 10px;
    }
    
    .terms-list li {
      margin-bottom: 6px;
      font-size: 14px;
      color: #666;
    }
    
    /* 操作按钮 */
    .action-buttons {
      display: flex;
      padding: 10px 15px;
      background-color: white;
      border-top: 1px solid #eee;
      gap: 10px;
    }
    
    .share-btn, .collect-btn {
      flex: 1;
      padding: 10px 0;
      border-radius: 8px;
      font-size: 14px;
      background-color: #f5f5f5;
      color: #666;
      border: none;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 5px;
    }
    
    .collect-btn.active {
      color: #ff4d4f;
    }
    
    .buy-btn {
      flex: 2;
      padding: 10px 0;
      border-radius: 8px;
      font-size: 16px;
      font-weight: 500;
      background-color: #ff4d4f;
      color: white;
      border: none;
    }
    
    /* 留言区 */
    .comments-section {
      margin-top: 10px;
      background-color: white;
      padding: 15px;
    }
    
    .comments-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 15px;
    }
    
    .comments-count {
      font-size: 16px;
      font-weight: 600;
      color: #333;
    }
    
    .sort-comments {
      font-size: 14px;
      color: #666;
      display: flex;
      align-items: center;
      gap: 5px;
    }
    
    /* 留言输入框 */
    .comment-input-container {
      display: flex;
      gap: 10px;
      margin-bottom: 20px;
    }
    
    .user-avatar {
      width: 36px;
      height: 36px;
      border-radius: 50%;
      background-color: #eee;
      overflow: hidden;
    }
    
    .user-avatar img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    
    .comment-input-box {
      flex: 1;
      position: relative;
    }
    
    .comment-input {
      width: 100%;
      padding: 10px 12px;
      border-radius: 20px;
      border: 1px solid #eee;
      font-size: 14px;
      background-color: #f5f5f5;
      resize: none;
      height: 40px;
    }
    
    .send-comment {
      position: absolute;
      right: 10px;
      top: 50%;
      transform: translateY(-50%);
      color: #1890ff;
      border: none;
      background: none;
      font-size: 14px;
      font-weight: 500;
    }
    
    /* 留言列表 */
    .comments-list {
      margin-bottom: 20px;
    }
    
    .comment-item {
      display: flex;
      gap: 10px;
      margin-bottom: 15px;
      padding-bottom: 15px;
      border-bottom: 1px solid #f5f5f5;
    }
    
    .comment-avatar {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background-color: #eee;
      flex-shrink: 0;
    }
    
    .comment-content {
      flex: 1;
    }
    
    .comment-header {
      display: flex;
      justify-content: space-between;
      margin-bottom: 5px;
    }
    
    .comment-author {
      font-size: 14px;
      font-weight: 500;
      color: #333;
    }
    
    .comment-time {
      font-size: 12px;
      color: #999;
    }
    
    .comment-text {
      font-size: 15px;
      color: #555;
      margin-bottom: 8px;
      line-height: 1.4;
    }
    
    .comment-actions {
      display: flex;
      gap: 15px;
      font-size: 13px;
    }
    
    .comment-action {
      color: #999;
      display: flex;
      align-items: center;
      gap: 3px;
      cursor: pointer;
    }
    
    .comment-action.liked {
      color: #ff4d4f;
    }
    
    /* 回复 */
    .replies {
      margin-left: 20px;
      margin-top: 10px;
      background-color: #fafafa;
      padding: 10px;
      border-radius: 8px;
    }
    
    .reply-item {
      margin-bottom: 8px;
      font-size: 14px;
    }
    
    .reply-item:last-child {
      margin-bottom: 0;
    }
    
    .reply-author {
      font-weight: 500;
      color: #1890ff;
    }
    
    .reply-text {
      color: #555;
    }
    
    .reply-actions {
      margin-top: 5px;
      font-size: 12px;
      color: #999;
      display: flex;
      gap: 10px;
    }
    
    .reply-action {
      cursor: pointer;
    }
    
    .reply-input-container {
      margin-top: 10px;
      display: flex;
      gap: 8px;
    }
    
    .reply-input {
      flex: 1;
      padding: 6px 10px;
      border-radius: 15px;
      border: 1px solid #eee;
      font-size: 13px;
      background-color: white;
    }
    
    .send-reply {
      color: #1890ff;
      border: none;
      background: none;
      font-size: 13px;
      font-weight: 500;
      padding: 0 8px;
    }
    
    /* 底部操作栏 */
    .bottom-actions {
      position: fixed;
      bottom: 0;
      left: 0;
      right: 0;
      background-color: white;
      border-top: 1px solid #eee;
      display: flex;
      padding: 8px 15px;
      gap: 10px;
      z-index: 100;
    }
    
    .bottom-btn {
      flex: 1;
      padding: 10px 0;
      border-radius: 8px;
      font-size: 14px;
      font-weight: 500;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 5px;
    }
    
    .bottom-btn.primary {
      background-color: #ff4d4f;
      color: white;
      border: none;
    }
    
    .bottom-btn.secondary {
      background-color: white;
      color: #ff4d4f;
      border: 1px solid #ff4d4f;
    }
    
    /* 加载更多 */
    .load-more {
      text-align: center;
      padding: 10px 0;
    }
    
    .load-more-btn {
      padding: 6px 20px;
      border-radius: 20px;
      font-size: 14px;
      background-color: white;
      border: 1px solid #eee;
      color: #666;
    }
  </style>
</head>
<body>
  <!-- 顶部导航 -->
  <div class="top-nav d-flex justify-content-between align-items-center">
    <button class="btn btn-link p-0 text-dark">
      <i class="fa fa-arrow-left"></i>
    </button>
    <h1 class="nav-title">促销详情</h1>
    <button class="btn btn-link p-0 text-dark">
      <i class="fa fa-share-alt"></i>
    </button>
  </div>
  
  <!-- 图片轮播 -->
  <div class="promo-slider">
    <img src="https://picsum.photos/800/600?random=1" alt="秋季服饰促销" class="slider-image">
    <div class="slider-indicator">1/5</div>
  </div>
  
  <!-- 促销标签 -->
  <div class="promo-tags">
    <span class="promo-tag tag-hot">热门活动</span>
    <span class="promo-tag tag-limited">限时促销</span>
    <span class="promo-tag tag-full">满减活动</span>
    <span class="promo-tag">新品特惠</span>
  </div>
  
  <!-- 促销信息 -->
  <div class="promo-info">
    <h1 class="promo-title">秋季服饰大促 全场3折起 满300减50 满500减100</h1>
    
    <div class="promo-price">
      <div class="price-main">
        <span class="current-price">¥199</span>
        <span class="original-price">¥599</span>
        <span class="discount">3.3折</span>
      </div>
      <div class="price-desc">
        <i class="fa fa-info-circle"></i>
        <span>叠加优惠：满300减50、满500减100、满1000减250</span>
      </div>
    </div>
    
    <div class="promo-meta">
      <div class="meta-item">
        <i class="fa fa-calendar"></i>
        <span>活动时间：10.26-10.31</span>
      </div>
      <div class="meta-item">
        <i class="fa fa-eye"></i>
        <span>2.3k人浏览</span>
      </div>
      <div class="meta-item">
        <i class="fa fa-user"></i>
        <span>1.2k人参与</span>
      </div>
    </div>
    
    <div class="promo-meta">
      <div class="meta-item">
        <i class="fa fa-map-marker"></i>
        <span>全国包邮</span>
      </div>
      <div class="meta-item">
        <i class="fa fa-truck"></i>
        <span>7天无理由退换</span>
      </div>
    </div>
  </div>
  
  <!-- 商家信息 -->
  <div class="merchant-info">
    <div class="merchant-avatar">
      <i class="fa fa-shopping-bag"></i>
    </div>
    <div class="merchant-details">
      <div class="merchant-name">时尚服饰旗舰店</div>
      <div class="merchant-rating">
        <i class="fa fa-star" style="color: #faad14;"></i>
        <i class="fa fa-star" style="color: #faad14;"></i>
        <i class="fa fa-star" style="color: #faad14;"></i>
        <i class="fa fa-star" style="color: #faad14;"></i>
        <i class="fa fa-star-half-o" style="color: #faad14;"></i>
        <span style="margin-left: 5px;">4.8 (1200+评价)</span>
      </div>
    </div>
    <button class="follow-btn">
      <i class="fa fa-plus"></i> 关注
    </button>
  </div>
  
  <!-- 操作按钮 -->
  <div class="action-buttons">
    <button class="share-btn">
      <i class="fa fa-share-alt"></i> 分享
    </button>
    <button class="collect-btn">
      <i class="fa fa-heart-o"></i> 收藏
    </button>
    <button class="buy-btn">立即抢购</button>
  </div>
  
  <!-- 促销详情 -->
  <div class="promo-details">
    <h2 class="section-title">活动详情</h2>
    <div class="detail-content">
      <p>秋季新款服饰全场3折起，多种款式任您选择，包括：</p>
      <ul class="terms-list">
        <li>时尚风衣、夹克、卫衣</li>
        <li>休闲裤、牛仔裤、运动裤</li>
        <li>针织衫、毛衣、衬衫</li>
        <li>多款配饰（围巾、帽子、手套）</li>
      </ul>
      
      <img src="https://picsum.photos/800/500?random=2" alt="促销商品展示">
      
      <p>活动期间，除了享受折扣价外，还可叠加以下满减优惠：</p>
      <ul class="terms-list">
        <li>满300元减50元</li>
        <li>满500元减100元</li>
        <li>满1000元减250元</li>
      </ul>
      
      <h3 class="terms-title">活动规则：</h3>
      <ul class="terms-list">
        <li>活动时间：2023年10月26日-10月31日</li>
        <li>本活动不与店内其他优惠同时使用</li>
        <li>限量商品每人限购3件</li>
        <li>优惠券使用期限为活动结束后7天内</li>
        <li>最终解释权归本店所有</li>
      </ul>
    </div>
  </div>
  
  <!-- 留言区 -->
  <div class="comments-section">
    <div class="comments-header">
      <div class="comments-count">用户评论 (24)</div>
      <div class="sort-comments">
        <span>热门</span>
        <i class="fa fa-chevron-down"></i>
      </div>
    </div>
    
    <!-- 留言输入框 -->
    <div class="comment-input-container">
      <div class="user-avatar">
        <img src="https://picsum.photos/100/100?random=10" alt="用户头像">
      </div>
      <div class="comment-input-box">
        <textarea class="comment-input" placeholder="分享你的想法..."></textarea>
        <button class="send-comment">发送</button>
      </div>
    </div>
    
    <!-- 留言列表 -->
    <div class="comments-list">
      <!-- 评论1 -->
      <div class="comment-item">
        <div class="comment-avatar" style="background-image: url('https://picsum.photos/100/100?random=11'); background-size: cover;"></div>
        <div class="comment-content">
          <div class="comment-header">
            <div class="comment-author">时尚达人</div>
            <div class="comment-time">2小时前</div>
          </div>
          <div class="comment-text">
            这件风衣质量很好，上周买了一件灰色的，这次活动又买了件黑色的，超级划算！推荐大家购买。
          </div>
          <div class="comment-actions">
            <div class="comment-action liked">
              <i class="fa fa-thumbs-up"></i> 24
            </div>
            <div class="comment-action">
              <i class="fa fa-comment-o"></i> 回复
            </div>
          </div>
          
          <!-- 回复 -->
          <div class="replies">
            <div class="reply-item">
              <span class="reply-author">时尚服饰旗舰店</span>
              <span class="reply-text"> 感谢您的喜爱和支持，我们会继续努力提供更好的产品和服务！</span>
              <div class="reply-actions">
                <div class="reply-action">1小时前</div>
                <div class="reply-action">回复</div>
              </div>
            </div>
            
            <div class="reply-input-container">
              <input type="text" class="reply-input" placeholder="回复 @时尚达人...">
              <button class="send-reply">发送</button>
            </div>
          </div>
        </div>
      </div>
      
      <!-- 评论2 -->
      <div class="comment-item">
        <div class="comment-avatar" style="background-image: url('https://picsum.photos/100/100?random=12'); background-size: cover;"></div>
        <div class="comment-content">
          <div class="comment-header">
            <div class="comment-author">省钱小能手</div>
            <div class="comment-time">昨天 15:30</div>
          </div>
          <div class="comment-text">
            满减后真的很划算，算下来差不多是3折左右，比双十一还便宜，已经推荐给朋友了。请问活动结束后还会有类似优惠吗？
          </div>
          <div class="comment-actions">
            <div class="comment-action">
              <i class="fa fa-thumbs-up"></i> 18
            </div>
            <div class="comment-action">
              <i class="fa fa-comment-o"></i> 回复
            </div>
          </div>
        </div>
      </div>
      
      <!-- 评论3 -->
      <div class="comment-item">
        <div class="comment-avatar" style="background-image: url('https://picsum.photos/100/100?random=13'); background-size: cover;"></div>
        <div class="comment-content">
          <div class="comment-header">
            <div class="comment-author">秋日穿搭</div>
            <div class="comment-time">2天前</div>
          </div>
          <div class="comment-text">
            衣服尺码很标准，按照平时穿的码数买刚好合适。颜色和图片一致，没有色差，物流也很快，第二天就收到了。
          </div>
          <div class="comment-actions">
            <div class="comment-action liked">
              <i class="fa fa-thumbs-up"></i> 36
            </div>
            <div class="comment-action">
              <i class="fa fa-comment-o"></i> 回复
            </div>
          </div>
          
          <!-- 回复 -->
          <div class="replies">
            <div class="reply-item">
              <span class="reply-author">用户12345</span>
              <span class="reply-text"> 请问身高165，体重50kg穿什么码合适？</span>
              <div class="reply-actions">
                <div class="reply-action">1天前</div>
                <div class="reply-action">回复</div>
              </div>
            </div>
            <div class="reply-item">
              <span class="reply-author">秋日穿搭</span>
              <span class="reply-text"> 我就是这个身材，穿M码刚好</span>
              <div class="reply-actions">
                <div class="reply-action">12小时前</div>
                <div class="reply-action">回复</div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
    
    <!-- 加载更多评论 -->
    <div class="load-more">
      <button class="load-more-btn">
        <i class="fa fa-refresh"></i> 查看更多评论
      </button>
    </div>
  </div>
  
  <!-- 底部操作栏 -->
  <div class="bottom-actions">
    <button class="bottom-btn secondary">
      <i class="fa fa-shopping-cart"></i> 加入购物车
    </button>
    <button class="bottom-btn primary">
      <i class="fa fa-bolt"></i> 立即购买
    </button>
  </div>

  <!-- Bootstrap JS -->
  <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
  
  <script>
    // 收藏按钮切换
    const collectBtn = document.querySelector('.collect-btn');
    collectBtn.addEventListener('click', function() {
      this.classList.toggle('active');
      const icon = this.querySelector('i');
      if (this.classList.contains('active')) {
        icon.classList.remove('fa-heart-o');
        icon.classList.add('fa-heart');
        alert('已收藏该促销活动');
      } else {
        icon.classList.remove('fa-heart');
        icon.classList.add('fa-heart-o');
        alert('已取消收藏');
      }
    });
    
    // 关注按钮切换
    const followBtn = document.querySelector('.follow-btn');
    followBtn.addEventListener('click', function() {
      this.classList.toggle('followed');
      const icon = this.querySelector('i');
      if (this.classList.contains('followed')) {
        icon.classList.remove('fa-plus');
        icon.classList.add('fa-check');
        this.textContent = ' 已关注';
        this.prepend(icon);
        alert('已关注时尚服饰旗舰店');
      } else {
        icon.classList.remove('fa-check');
        icon.classList.add('fa-plus');
        this.textContent = ' 关注';
        this.prepend(icon);
        alert('已取消关注');
      }
    });
    
    // 评论点赞功能
    const likeButtons = document.querySelectorAll('.comment-action');
    likeButtons.forEach(button => {
      if (button.querySelector('.fa-thumbs-up')) {
        button.addEventListener('click', function() {
          this.classList.toggle('liked');
          const countEl = this.childNodes[2];
          let count = parseInt(countEl.textContent.trim());
          
          if (this.classList.contains('liked')) {
            countEl.textContent = ` ${count + 1}`;
          } else {
            countEl.textContent = ` ${count - 1}`;
          }
        });
      }
    });
    
    // 发送评论
    const sendCommentBtn = document.querySelector('.send-comment');
    const commentInput = document.querySelector('.comment-input');
    
    sendCommentBtn.addEventListener('click', function() {
      const commentText = commentInput.value.trim();
      if (commentText) {
        alert(`评论成功：${commentText}`);
        commentInput.value = '';
      } else {
        alert('请输入评论内容');
      }
    });
    
    // 发送回复
    const sendReplyBtns = document.querySelectorAll('.send-reply');
    sendReplyBtns.forEach(btn => {
      btn.addEventListener('click', function() {
        const replyInput = this.previousElementSibling;
        const replyText = replyInput.value.trim();
        if (replyText) {
          alert(`回复成功：${replyText}`);
          replyInput.value = '';
        } else {
          alert('请输入回复内容');
        }
      });
    });
    
    // 购买按钮
    const buyButtons = document.querySelectorAll('.buy-btn, .bottom-btn.primary');
    buyButtons.forEach(btn => {
      btn.addEventListener('click', function() {
        alert('即将跳转到结算页面');
      });
    });
    
    // 加入购物车
    document.querySelector('.bottom-btn.secondary').addEventListener('click', function() {
      alert('已加入购物车');
    });
    
    // 分享按钮
    document.querySelector('.share-btn').addEventListener('click', function() {
      alert('打开分享菜单');
    });
    
    // 加载更多评论
    document.querySelector('.load-more-btn').addEventListener('click', function() {
      const btn = this;
      btn.innerHTML = '<i class="fa fa-spinner fa-spin"></i> 加载中...';
      
      // 模拟加载延迟
      setTimeout(() => {
        btn.innerHTML = '<i class="fa fa-refresh"></i> 查看更多评论';
        alert('已加载全部评论');
      }, 1500);
    });
  </script>
</body>
</html>